#ifndef ABSTRACTEDITOR_H
#define ABSTRACTEDITOR_H

#include <QWidget>

class QAbstractItemModel;


class AbstractEditor : public QWidget
{
    Q_OBJECT

public:

    explicit AbstractEditor(QWidget *parent = 0);

    virtual void setEditorData(QAbstractItemModel *model, const QModelIndex& index) = 0;

};

#endif // ABSTRACTEDITOR_H
